package org.fly.bean;

import org.fly.utils.code.QueryField;
import org.fly.utils.code.QueryType;

/**
 * Created by rongzhao.zhu on 2018/1/31.
 */
public class CustomerLevel {
    /**
     * 主键
     */
    @QueryField
    private String id;
    /**
     * 供货商id
     */
    @QueryField
    private String supplierId;
    /**
     * 名称
     */
    @QueryField(oper = QueryType.like)
    private String name;
    /**
     * 描述
     */
    private String desc;
    /**
     * 是否默认设置
     * 1 是默认设置  -1 是非默认设置
     */

    @QueryField
    private int defaultSet;

    private int sort;
    /**
     * 创建时间
     */
    private long createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getDefaultSet() {
        return defaultSet;
    }

    public void setDefaultSet(int defaultSet) {
        this.defaultSet = defaultSet;
    }
}
